jcompressor


js/css build tool using the yui compressor

jcompressor is a js/css build tool based off of the YUI Compressor. It can either be used as a stand alone command line app or integrated into your project build process by using the jcompressor-maven plugin.

<wiki:gadget url="http://www.ohloh.net/p/64094/widgets/project_factoids.xml" border="0" width="400" height="180" />

Requirements

Java >= 6.0

Usage

``` ~$ jcompressor

arguments: -p,--project path to the configuration file of the project that will be compressed -js path to the stylesheet file(s) that will be compressed -css path to the javascript file(s) that will be compressed --yuiOptions "options,..." -h,--help show help options -v,--version print version and quit ```

Output

```

J C O M P R E S S O R

JS:

Total Size: 100.05 KB Merged Size: 98.91 KB 1.14 % Final Size: 78.89 KB 21.15 % Output Location: /path/to/project/includes/js/final.js

CSS:

Total Size: 55.61 KB Merged Size: 50.55 KB 9.10 % Final Size: 47.20 KB 15.12 % Output Location: /path/to/project/includes/css/final.css ```

Project Information

Labels:
java yui yuicompressor javascript js stylesheet css compressor compress